﻿namespace DbWorker.DataModels
{
    using System;

    public enum LetterType
    {
        Unknown = 0,
        Outgoing = 1,
        Incoming = 2,
        Draft = 3,
        Spam = 4,
        NotSent = 5
    }

    public class LetterDm
    {
        public long Id = -1;

        public long RuleId = -1;

        public LetterType Type;

        public string Uid;

        public string Subject;

        public string From;

        public string To;

        public string MessageText;

        public DateTime LetterDate;
    }
}
